package com.tocici.domain.bo;

import com.tocici.domain.UserUseTime;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 用户听歌时段业务对象 user_use_time
 *
 * @author zeraul
 * @date 2025-03-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = UserUseTime.class, reverseConvertGenerate = false)
public class UserUseTimeBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long timeId;

    /**
     *
     */
    @NotBlank(message = "用户名不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     *
     */
    @NotBlank(message = "用户名不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer hour;

    /**
     *
     */
    private Integer isDeleted;


}
